package designPattern.State;

public class Context {

	private State state;

	public Context() {
		this.state = null;
	}

	/**
	 * 获取state
	 *
	 * @return state
	 */
	public State getState() {
		return state;
	}

	/**
	 * 设置state
	 *
	 * @param state state
	 */
	public void setState(State state) {
		this.state = state;
	}
}
